from django.conf.urls.defaults import *

urlpatterns = patterns('student.views',
  url(r'^subjects_selection/$', 'subjects_selection',name='student_subjects_selection'),
  url(r'^subjects_selection/([0-9]+)/$', 'subjects_selection',name='student_subjects_selection_sel'),
  url(r'^enrollment_sheet_entry/$', 'enrollment_sheet_entry',name='enrollment_sheet_entry'),
  url(r'^exam_result_paper/$', 'exam_result_paper',name='student_exam_result_paper'),
  url(r'^exam_result_paper/([0-9]+)/$', 'exam_result_paper',name='student_exam_result_paper_sel'),

  # Student search
  url(r'^student_list/(?P<prof>.*)$', 'student_list', name='student_list'),
  url(r'^student_list/$', 'student_list', name='student_list'),
  url(r'^$', 'student', name = 'student'),
  url(r'^(?P<enrollment_number>\d+)/$', 'student', name = 'student'),
  url(r'^(?P<enrollment_number>\d+)/(?P<enrollment_sheet>\d+)/$', 'student', name = 'student'),
)
